package com.bix.util.blizfiles.dbc;

/**
 * This class represents a String column in a DBC file.
 * 
 *	@author		squid
 *
 *	@version	1.0.0
 */
public class StringDBCRecordField extends DBCRecordField {
	public StringDBCRecordField(String name) {
		super(name);
	}
	
	public String getValue () {
		return (String)super.getValue ();
	}

	@Override
	public void read (DBCFile dbc) {
		int	index = dbc.getData().getInt();
		this.setValue (dbc.getString(index));
	}
}